package unitTesting;

import static org.junit.Assert.*;
import beans.LoginBean;
import servlets.LoginServlet;

import org.junit.Test;

public class LoginTest 
{
	@Test
	public void testIsLoginValid() 
	{
		beans.LoginBean testBean = new beans.LoginBean();
		
		assertTrue(testBean.isLoginValid("dcam", "12345"));
		assertFalse(testBean.isLoginValid("dcam", "23456"));
	}
}